package com.xiaotu.service;

import com.xiaotu.dto.BuyPropsCardDto;
import com.xiaotu.dto.ConsumePropsCardDto;
import com.xiaotu.vo.BuyPropsCardVo;

import java.util.List;


/**
 * @author zhangxiao
 * @create 2022-04-02 10:59
 */
public interface PlayerEquipmentService {

    Object consumePropsCard(ConsumePropsCardDto consumePropsCardDto);

    BuyPropsCardVo buyPropsCard(BuyPropsCardDto buyPropsCardDto);

    void deductionGoldCoins(List<Integer> playerIds, Integer goldCoins);

    boolean isAdmissionAllowed(Integer playerId);
}
